<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body {
  font-size: 13px;
  padding: 1em;
}

h1 {
  font-size: 26px;
  margin-bottom: 1em;
}

h2 {
  font-size: 24px;
  margin-bottom: 1em;
}

h3 {
  font-size: 20px;
  margin-bottom: 1em;
  margin-top: 1em;
}

pre, code {
  line-height: 1.5;
  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
  margin-top: 0.5em;
}

h1, h2, h3, p {
  font-family: Arial, sans serif;
}

h1, h2, h3 {
  border-bottom: solid #CCC 1px;
}

.toc_element {
  margin-top: 0.5em;
}

.firstline {
  margin-left: 2 em;
}

.method  {
  margin-top: 1em;
  border: solid 1px #CCC;
  padding: 1em;
  background: #EEE;
}

.details {
  font-weight: bold;
  font-size: 14px;
}

</style>

<h1><a href="adsense_v2.html">AdSense Management API</a> . <a href="adsense_v2.accounts.html">accounts</a> . <a href="adsense_v2.accounts.alerts.html">alerts</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
  <code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
  <code><a href="#list">list(parent, languageCode=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists all the alerts available in an account.</p>
<h3>Method Details</h3>
<div class="method">
    <code class="details" id="close">close()</code>
  <pre>Close httplib2 connections.</pre>
</div>

<div class="method">
    <code class="details" id="list">list(parent, languageCode=None, x__xgafv=None)</code>
  <pre>Lists all the alerts available in an account.

Args:
  parent: string, Required. The account which owns the collection of alerts. Format: accounts/{account} (required)
  languageCode: string, The language to use for translating alert messages. If unspecified, this defaults to the user&#x27;s display language. If the given language is not supported, alerts will be returned in English. The language is specified as an [IETF BCP-47 language code](https://en.wikipedia.org/wiki/IETF_language_tag).
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response definition for the alerts list rpc.
  &quot;alerts&quot;: [ # The alerts returned in this list response.
    { # Representation of an alert.
      &quot;message&quot;: &quot;A String&quot;, # Output only. The localized alert message. This may contain HTML markup, such as phrase elements or links.
      &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the alert. Format: accounts/{account}/alerts/{alert}
      &quot;severity&quot;: &quot;A String&quot;, # Output only. Severity of this alert.
      &quot;type&quot;: &quot;A String&quot;, # Output only. Type of alert. This identifies the broad type of this alert, and provides a stable machine-readable identifier that will not be translated. For example, &quot;payment-hold&quot;.
    },
  ],
}</pre>
</div>

</body></html>